State of the popup.

<div class="definition">
    String, default 'closed'
</div>

The best way to find out if popup is opened (and since only one popup can be opened at any particular time), to use jQuery to
find popup div and check if it exists:
<textarea class="javascript">
if ($('#w2ui-popup').length > 0) {
    console.log('popup is opened');
}
</textarea>

You can also find out what the state of the popup is if you access the <span class="argument">status</span> property. This will provide you
with more information about popup states, such as open, closed, resizing, etc. Status can be one of the following:
<ul>
    <li>opening</li>
    <li>open</li>
    <li>closing</li>
    <li>closed</li>
    <li>resizing</li>
    <li>moving</li>
</ul>

Use this example below to find out how states are transitioned:
<textarea class="javascript">
$('body').append('<div id="status"></div>');
setInterval(function () {
    $('#status').html(w2popup.status);
}, 1);

w2popup.open({
    title: 'Text',
    body: 'Move me, then resize, and close',
    showMax: true,
    showClose: true
});
</textarea>
